import request from '@/utils/request'


export function NowList(data) {
    return request({
        url: '/nowLend/list',
        method: 'post',
        data
    })
}

export function NowInfo(data) {
    return request({
        url: '/nowLend/info',
        method: 'get',
        params: data,
    })
}

export function lendOutInfo(data) {
    return request({
        url: '/nowLend/lendOut',
        method: 'get',
        params: data,
    })
}

export function normalReturnBook(data) {
    return request({
        url: '/nowLend/lendBack',
        method: 'get',
        params: data,
    })
}

export function normalLossBook(data) {
  return request({
    url: '/nowLend/lendLoss',
    method: 'get',
    params: data,
  })
}

export function expireReturnBook(data) {
    return request({
        url: '/nowLend/lendBack2',
        method: 'get',
        params: data,
    })
}
